package com.hgw.Demo05_PrototypePattern.example_ShallowCloning;

/**
 * Data time:2021/12/12 17:11
 * StudentID:2019112118
 * Author:hgw
 * Description: Attachment ,附件类
 */
public class Attachment {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void download() {
        System.out.println("下载附件，文件名为: " + name);
    }
}
